#!user/bin/env python3
# -- coding: utf-8 --
# @Createtime：2023/9/11 16:30
# @Updatetime：16:30
# @Author：Test008
# @File：data_define
# @Description：
"""
定义数据类
"""


#
#
# class Record:
#     def __init__(self, date, order_id, money, province):
#         self.date = date  # 订单日期
#         self.order_id = order_id  # 订单ID
#         self.money = money  # 订单金额
#         self.province = province  # 销售省份
#
#     def __str__(self):
#         return f"{self.date},{self.order_id},{self.money},{self.province}"


# class Record(object):
#
#     def __init__(self, date, order_id, money, province):
#         self.date = date
#         self.order_id = order_id
#         self.money = money
#         self.province = province
#
#     def __str__(self):
#         return f"{self.date},{self.order_id},{self.money},{self.province}"

class Record:

    def __init__(self, date, order_id, money, province):

        self.date = date
        self.order_id = order_id
        self.money = money
        self.province = province

    def __str__(self):
        return f"{self.date},{self.order_id},{self.money},{self.province}"
